package com.example.abooktest;

public class Contact {

	private String id;
	private String name;
	private String status;
	private String organization;
	private String phone;
	private String mail;
	private String group;
	private String groupId;
	public boolean isChecked;

	public Contact(String _id, String _name, String _status, String _organization, String _phone, String _mail, String _group, String _groupId){
		this.id = _id;
		this.name = _name;
		this.status = _status;
		this.organization = _organization;
		this.phone = _phone;
		this.mail = _mail;
		this.group = _group;
		this.groupId = _groupId;
		this.isChecked = false;
	}
	
	public String getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public String getStatus() {
		return status;
	}
	public String getOrganization() {
		return organization;
	}
	public String getPhone() {
		return phone;
	}
	public String getMail() {
		return mail;
	}
	public String getGroup() {
		return group;
	}
	public String getGroupId() {
		return groupId;
	}
	
	public void setId(String _id){
		this.id = _id;
	}
	public void setName(String _name){
		this.name = _name;
	}
	public void setStatus(String _status){
		this.status = _status;
	}
	public void setOrganization(String _organization){
		this.organization = _organization;
	}
	public void setPhone(String _phone){
		this.phone = _phone;
	}
	public void setMail(String _mail){
		this.mail = _mail;
	}
	public void setGroup(String _group){
		this.group = _group;
	}
	public void setGroupId(String _groupId){
		this.groupId = _groupId;
	}
	
	public void setChecked(){ //check
		this.isChecked = true;
	}
	public void setUnchecked(){ //check 해제
		this.isChecked = false;
	}
} 